<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">    
    <meta name="keywords" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>title</title>
    <link rel="shortcut icon" href="favicon.ico">
    <!-- <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css"> -->
    <link rel="stylesheet" href="www/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="www/css/screen.css">
    <link rel="stylesheet" type="text/css" href="www/css/css.css">
</head>

<body>
    <header class="main-header" style="background-image:url(http://image.golaravel.com/5/c9/44e1c4e50d55159c65da6a41bc07e.jpg);">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <h1>PHP是最好的语言</h1>
                </div>
                <!-- <div class="col-sm-12">
                    <a class="btn btn-default btn-doc" href="#" target="_blank">中文文档</a>
                    <a class="btn btn-default btn-doc" href="#" target="_blank">中文文档</a>
                    <a class="btn btn-default btn-doc" href="#" target="_blank">中文文档</a>
                    <a class="btn btn-default btn-doc" href="#" target="_blank">中文文档</a>
                    <a class="btn btn-default btn-doc" href="#" target="_blank">中文文档</a>
                </div> -->
            </div>
        </div>
    </header>
    <nav class="main-navigation">
        <div class="container">
            <div class="row">
                <div class="navbar-header">
                    <span class="nav-toggle-button collapsed" data-toggle="collapse" data-target="#mainMenu">
                        <span class="sr-only">Toggle navigation</span>
                    <i class="fa fa-bars"></i>
                    </span>
                </div>
                <div class="collapse navbar-collapse" id="mainMenu">
                    <ul class="menu">
                        {% for obj in items.menus %}
                        <li class="{% if obj.menu == type %} nav-current {% endif %}">
                            <a href="{% if obj.menu !='index' %}?type={{obj.menu}}{% else %}/{% endif %}">
                                {% if obj.menu=='index' %}
                                    首页
                                {%else%}
                                    {{obj.menu}}
                                {% endif %}
                            </a>
                        </li>
                        {% endfor %}
                    </ul>
                </div>
            </div>
        </div>
    </nav>
    <section class="content-wrap">
        <div class="container">
            {% block main %}{% endblock %}
        </div>
    </section>
    <footer class="main-footer">
        <div class="container">
            <div class="row">
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">最新文章</h4>
                        <div class="content recent-post">
                            <div class="recent-single-post">
                                <a href="/post/laravel-5-3-is-now-released/" class="post-title">Laravel 5.3 正式发布</a>
                                <div class="date">2016年8月24日</div>
                            </div>
                            <div class="recent-single-post">
                                <a href="/post/laracon-laravel-5-3-recap/" class="post-title">Laracon 开发者大会快报：听 Taylor Otwell  讲解 Laravel 5.3 的新特性</a>
                                <div class="date">2016年7月28日</div>
                            </div>
                            <div class="recent-single-post">
                                <a href="/post/laravel-turns-five/" class="post-title">Laravel 五岁了</a>
                                <div class="date">2016年6月12日</div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">标签云</h4>
                        <div class="content tag-cloud">
                            {% for tag in items.tags %}
                                {% if loop.index < 15 %}
                                    <a href="{{tag.id}}">{{tag.tag}}</a>
                                {% endif %}
                            {% endfor %}
                            {% if item.tags.length > 16 %}
                                <a href="{{tag.id}}">...</a>
                            {% endif %}
                        </div>
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">合作伙伴</h4>
                        <div class="content tag-cloud friend-links">
                            <a href="http://www.bootcss.com" title="Bootstrap中文网" >Bootstrap中文网</a>
                            <a href="http://www.bootcdn.cn" title="开放CDN服务" >开放CDN服务</a>
                            <a href="http://www.gruntjs.net" title="Grunt中文网" >Grunt中文网</a>
                            <a href="http://www.gulpjs.com.cn/" title="Gulp中文网" >Gulp中文网</a>
                            <hr>
                            <a href="http://lodashjs.com/" title="Lodash中文文档" >Lodash中文文档</a>
                            <a href="http://www.jquery123.com/" title="jQuery中文文档" >jQuery中文文档</a>
                            <hr>
                            <a href="https://www.upyun.com/" title="又拍云" >又拍云</a>
                            <a href="http://www.ucloud.cn/" title="UCloud" >UCloud</a>
                            <a href="http://www.lecloud.com/" title="乐视云" >乐视云</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </footer>
    <div class="copyright">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <span>Copyright © <a href="http://www.golaravel.com/">Laravel 中文网</a></span> |
                    <span><a href="http://www.miibeian.gov.cn/" target="_blank">京ICP备号</a></span> |
                    <span>京公网安备</span>
                </div>
            </div>
        </div>
    </div>
    <a href="#" id="back-to-top"><i class="fa fa-angle-up"></i></a>
    <script src="www/js/jquery.1.11.2.min.js"></script>
    <script src="www/js/bootstrap.min.js"></script>
    <script src="www/js/js.js"></script>

</body>

</html>
